package com.dy.basic.service;

import com.dy.basic.util.AjaxResult;
import com.dy.user.dto.PhoneRegisterFormDto;

import java.io.IOException;

public interface VerifyCodeService {

    String graph(String key) throws IOException;

    // 发送短信验证
    void smsCode(PhoneRegisterFormDto phoneRegisterFormDto);

    // 发送邮箱验证
    String sendEmailCode(String email);
}
